#include "stdafx.h"
#include "BasicClassRegisterar.h"

namespace BasicSkinView
{


	CBasicClassRegisterar::CBasicClassRegisterar()
	{
	}

	CBasicClassRegisterar::~CBasicClassRegisterar()
	{
	}

	bool CBasicClassRegisterar::BsRegisterClass( WNDCLASSEX* wc )
	{
		ATOM atom = ::RegisterClassEx(wc);
		return (atom != NULL);
	}

	bool CBasicClassRegisterar::BsUnRegisterClass( LPCTSTR lpClassName,HINSTANCE hInstance )
	{
		return !!::UnregisterClass(lpClassName,hInstance);
	}
}